package com.springIOC.Pointcut;

import org.aopalliance.aop.Advice;
import org.springframework.aop.Pointcut;
import org.springframework.aop.PointcutAdvisor;

/**
 * Created by 41579 on 2017/1/13.
 */
public class MyPointCutAdvicor implements PointcutAdvisor{
    Pointcut pointcut;
    Advice advice;
    public Pointcut getPointcut() {
        return pointcut;
    }

    public void setPointcut(Pointcut pointcut) {
        this.pointcut = pointcut;
    }

    public Advice getAdvice() {
        return advice;
    }

    public void setAdvice(Advice advice) {
        this.advice = advice;
    }

    public boolean isPerInstance() {
        return false;
    }
}
